{% extends "admin/delete_selected_confirmation.html" %}
{% load i18n l10n %}
{% block content %}
    <p>确认注销所选择的用户吗 {{ objects_name }}? 注销不会删除用户的日志、评论等信息，但是账号将无法恢复。</p>
    <h2>用户：</h2>
    <ul>
        {{ objects|unordered_list }}
    </ul>
    <form method="post">
        {% csrf_token %}
        <div>
            {% for obj in queryset %}<input type="hidden" name="_selected_action" value="{{ obj.pk|unlocalize }}">{% endfor %}
            <input type="hidden" name="action" value="cancel_users">
            <input type="hidden" name="post" value="yes">
            <input type="submit" value="{% translate 'Yes, I’m sure' %}">
            <a href="#" class="button cancel-link">{% translate "No, take me back" %}</a>
        </div>
    </form>
{% endblock %}
